
cd "G:\My Drive\Jerry_Felipe_Boards\analysis\data_analysis"

* total similarity
use tnic4_data, clear 
rename score similarity
collapse (sum) similarity, by(gvkey1 year)
rename gvkey1 gvkey
rename similarity tsim4
keep gvkey year tsim4
save totalsim4, replace



